package chapter1.service;

import chapter1.domain.entity.Dept;
import chapter1.domain.entity.dto.DeptDto;
import chapter1.domain.entity.vo.DeptVo;
import chapter1.domain.entity.vo.Result;

/**
 * 业务层接口-部门
 *
 * @author 郑植航
 * @since 2025/5/25 20:57
 */
public interface IDeptService extends IBaseService<Dept,DeptDto>{


    boolean  existById(int id);
    Dept findById(int id);
    Result list();
    Result create(DeptDto dto);
    Result update(DeptDto dto,int id);
    Result delete(int id);

}
